package org.dtrd.modules.patient.entity.bean.miniprogram;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author qr
 * @date 2022/3/22 15:13
 */
@ApiModel("小程序事件类型")
@Data
@NoArgsConstructor
public class MiniprogramEventType {

    @ApiModelProperty("事件类型")
    private String eventType;

    @ApiModelProperty("事件参数")
    private String eventVal;

    @ApiModelProperty("事件链接")
    private String eventUrl;

    public MiniprogramEventType(String eventType, String eventVal, String eventUrl) {
        this.eventType = eventType;
        this.eventVal = eventVal;
        this.eventUrl = eventUrl;
    }

    public MiniprogramEventType(String eventType, String eventVal) {
        this.eventType = eventType;
        this.eventVal = eventVal;
    }
}
